package com.sunny.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 文章标签关联表
 * </p>
 *
 * @author sunny
 * @since 2025-10-24
 */
@Getter
@Setter
@ToString
@TableName("article_tag")
public class ArticleTag implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 文章ID
     */
    private Integer articleId;

    /**
     * 标签ID
     */
    private Integer tagId;

    /**
     * 逻辑删除标志：0-未删除，1-已删除
     */
    private Boolean isDeleted;

    /**
     * 创建人ID
     */
    private Integer createdBy;

    /**
     * 创建时间
     */
    private LocalDateTime createdAt;
}
